﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TXTD.Admin.Data.Entitys.System;
using TXTD.Admin.Model.Paging;

namespace TXTD.Admin.Interface.System
{
    public interface ISysConfigService : IBaseService<SysConfig>
    {
        /// <summary>
        /// 获取分页数据
        /// </summary>
        /// <returns></returns>
        PageResult<SysConfig> GetPageList(SysConfig user);
        /// <summary>
        /// 添加数据
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        int Add(SysConfig model);
        /// <summary>
        /// 修改数据
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        int Update(SysConfig model);
        /// <summary>
        /// 删除数据
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int DeleteById(string id);
    }
}
